package com.vm.osm.business.dao;

import com.vm.osm.business.dto.rsp.RspEquTypeDetail;
import com.vm.osm.business.dto.rsp.RspEquTypePage;
import com.vm.osm.business.entity.EamEquType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by zhangshilin on 2018/1/7.
 */
public interface EamEquTypeMapper extends BaseDao<EamEquType,String> {
    List<RspEquTypePage> findPage(String enterpriseId);

    RspEquTypeDetail findDetail(String id);

    List<RspEquTypePage> findByParentId(@Param("enterpriseId") String enterpriseId,@Param("parentId") String parentId);


}
